cmake_minimum_required(VERSION 3.20)
project(gtest_demos)

set(CODE_BASE_DIR ${CMAKE_CURRENT_LIST_DIR})

set(CMAKE_CXX_STANDARD 14)

add_subdirectory(
        # base
        tests
        )

include_directories(
        ${BASE_CODE_DIR}/base
        ${BASE_CODE_DIR}/tests
        )

add_executable(gtest_demos main.cpp)

target_include_directories(gtest_demos PUBLIC
        ${CODE_BASE_DIR}/base
        ${CODE_BASE_DIR}/tests
        )

target_compile_options(gtest_demos PRIVATE -g)

target_link_libraries(gtest_demos PRIVATE runtime_stub)
